<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>浮动-基本使用</title>
  <style>
    /* 特点：顶对齐；具备行内块显示模式特点；浮动的盒子会脱标 */
    .one {
      width: 100px;
      height: 100px;
      background-color: brown;
      
      float: right;
    }

    .two {
      width: 200px;
      height: 200px;
      background-color: orange;

      /* float: left; */
      float: right;
    }
  </style>
</head>
<body>
  <div class="one">one</div>
  <div class="two">two</div>
</body>
</html>